package com.lbb.sqlsession;

import java.sql.SQLException;
import java.util.List;

public interface SqlSession {
    public <E> List<E> selectList(String statementid,Object...params) throws Exception;
    public <T> T selectOne(String statementid,Object...params) throws Exception;
    public int update(String statementid,Object...params) throws SQLException, Exception;
    public int delete(String statementid,Object...params) throws Exception;
    public int insert(String statementid,Object...params) throws Exception;
    public <T> T getMapper(Class<?> mapperClass);
}
